package com.yiyoucheng.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 部门实体类
 */
@Data
public class Department implements Serializable {
    private int id;//部门id
    private String name;//部门名称
    private int parentId;//部门的父级部门id
    private List<Department> childrenDepartmentList;//部门子部门的集合
}
